-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cxx-qt-lib: build a QSet<T> #350
Conversation
d15d606
to
524b8f0
Compare
de1c97c
to
5e39b07
Compare
6ef45a4
to
62b75e0
Compare
4166d2a
to
746459f
Compare
7ed0863
to
e9cf270
Compare
e9cf270
to
660f3fd
Compare
944b429
to
e94e7e7
Compare
ecee3a3
to
21ebcfe
Compare
21ebcfe
to
bc2697a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could simplify this using CXX instead of C-style FFI.
Initial version of the templated idea: |
9f834fd
to
358d2de
Compare
Done |
64ac386
to
1f58fcc
Compare
It would help to incorporate this into one of the examples to see how the API works in practice. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The overall code is good, I just have a few more nitpicks, then ready for merge IMHO.
Added a Also note that you can see how these are used in qt_types_standalone as well. |
1f58fcc
to
3b5568d
Compare
Also define all primitive types and cxx_qt_lib types as T. Related to KDAB#347
Some methods can be defined via the CXX bridge so don't need a C++ proxy between.
Methods that can't be defined using CXX use template methods.
3b5568d
to
ea2c333
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Related to #347